﻿import { axios } from '@/utils/request'

/**
 * 查询远程存储
 *
 * @author mike
 */
export function RemoteStorePage (parameter) {
  return axios({
    url: '/RemoteStore/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 远程存储列表
 *
 * @author mike
 */
export function RemoteStoreList (parameter) {
  return axios({
    url: '/RemoteStore/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加远程存储
 *
 * @author mike
 */
export function RemoteStoreAdd (parameter) {
  return axios({
    url: '/RemoteStore/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑远程存储
 *
 * @author mike
 */
export function RemoteStoreEdit (parameter) {
  return axios({
    url: '/RemoteStore/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除远程存储
 *
 * @author mike
 */
export function RemoteStoreDelete (parameter) {
  return axios({
    url: '/RemoteStore/delete',
    method: 'post',
    data: parameter
  })
}
